import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/risk_control_analysis_entity.g.dart';


@JsonSerializable()
class RiskControlAnalysisEntity {

	RiskControlAnalysisEntity();

	factory RiskControlAnalysisEntity.fromJson(Map<String, dynamic> json) => $RiskControlAnalysisEntityFromJson(json);
	late int total = 0;
	late int initialRiskOne = 0;
	late int initialRiskTwo = 0;
	late int initialRiskThree = 0;
	late int initialRiskFour = 0;
	late int riskOne = 0;
	late int riskTwo = 0;
	late int riskThree = 0;
	late int riskFour = 0;
	dynamic companyName;
	late int riskMeasuresCount = 0;
	late int emergencyPlanCount = 0;
	late int safetyTrainingCount = 0;

	Map<String, dynamic> toJson() => $RiskControlAnalysisEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}
